package com.yanyilu.basing.service;

import com.yanyilu.basing.common.R;
import com.yanyilu.basing.entity.OrderForm;
import com.baomidou.mybatisplus.service.IService;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Sxx
 * @since 2020-10-27
 */
public interface IOrderFormService extends IService<OrderForm> {

    R getOrder(Integer userId);

    R getOrderInfo(Integer userId);

    R unifiedorder(Integer userId, HttpServletRequest request);

    boolean callBack(HttpServletRequest request);

    R updateOrder(OrderForm orderForm,Integer userId);

    R checkOrder(Integer orderFormId);

    R adminOrderFormList(Integer page,Integer limit,String orderNumber);

    R adminDelete(Integer orderFormId);

    R adminUpdate(OrderForm orderForm);

    OrderForm orderByCon(String contactDetails);
}
